package com.lzy.wzy.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Validated
public class ModifyUserVo {

    @NotBlank(message = "用户id不能为空")
    private String userUuid;

    @NotBlank(message = "姓名不能为空")
    private String name;

    @NotBlank(message = "权限标识不能为空")
    private String roleId;

    @NotBlank(message = "用户名不能为空")
    private String username;


    @NotBlank(message = "部门标识不能为空")
    private String departmentId;
}
